<!doctype html>
<html>
<?php echo $this->fetch('head.html'); ?>

<body>
<?php $this->assign("shop",M("koudai")->selectRow("id=".SHOPID)); ?>
<div class="header" >
    
    <div class="title">口袋"<?php echo $this->_var['shop']['title']; ?>"管理中心</div>
    
      
  </div>
	 
            <div class="business_title clearfix"><span class="fl">总订单数：<b class="red"><?php echo $this->_var['totalorder']; ?>笔</b></span><span class="fr">总营业额：<b class="red">￥<?php echo round($this->_var['allmoney'],"2"); ?></b></span></div>
              
            <div class="comblock">

                <ul class="user_new_listitem">
                <li class="noarr"><span class="righttxt"><span class="red"><?php echo $this->_var['newuser']; ?>个</span></span>新用户</li>
                <li class="noarr"><span class="righttxt"><span class="red"><?php echo $this->_var['neworder']; ?>笔</span></span>新订单</li>
                    <li class="noarr"><span class="righttxt"><span class="red"><?php echo intval($this->_var['dayorder']['num']); ?>笔</span></span>今日订单</li>
                    
                    <li class="noarr"><span class="righttxt"><span class="red">￥<?php echo round($this->_var['dayorder']['on_money'],"2"); ?></span></span>今日线上营业额</li>
                    <li class="noarr  "><span class="righttxt"><span class="red">￥<?php echo round($this->_var['dayorder']['off_money'],"2"); ?></span></span>今日线下营业额</li>
                    <li class="noarr last"><span class="righttxt"><span class="red">￥<?php echo round($this->_var['dayorder']['money'],"2"); ?></span></span>今日营业额</li>
                </ul>
            </div>
            
            <div class="comblock">
                <ul class="user_new_listitem">
                    <li class="noarr"><span class="righttxt"><span class="red"><?php echo intval($this->_var['monthorder']['num']); ?>笔</span></span>本月订单</a></li>
                    <li class="noarr "><span class="righttxt"><span class="red">￥<?php echo round($this->_var['monthorder']['on_money'],"2"); ?></span></span>本月线上营业额</li>
                    <li class="noarr "><span class="righttxt"><span class="red">￥<?php echo round($this->_var['monthorder']['off_money'],"2"); ?></span></span>本月线下营业额</li>
                    <li class="noarr last"><span class="righttxt"><span class="red">￥<?php echo round($this->_var['monthorder']['money'],"2"); ?></span></span>本月营业额</li>
                </ul>
            </div>
            <div class="comblock">
                <ul class="user_new_listitem">
                   <li class="noarr "><span class="righttxt"><span class="red"><?php echo $this->_var['sushe_num']; ?></span></span>总下单寝室数</li>
                     <li class="noarr last"><span class="righttxt"><span class="red"><?php echo $this->_var['alluser']; ?></span></span>总下单用户</li>
                    
                </ul>
            </div>
        </div>
 
<?php $this->assign('botnav','index'); ?>   
 <?php echo $this->fetch('footer.html'); ?>
</body>
</html>
